<?php

namespace app\api\controller;

use app\api\logic\HomepageLogic;
use app\common\controller\Api;

class Homepage extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    public function list()
    {
        $logic = new HomepageLogic();
        $data = $logic->getList();

        return $this->success('success', $data);
    }

}